.class Lcom/waiqin365/lightapp/order/r;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/order/OrderDetailActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v5, 0x0

    const v3, 0x7f08013b

    const/4 v4, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/order/b/a/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/b/a/p;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/p;->b:Ljava/lang/String;

    if-eqz v1, :cond_0

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/p;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/p;->d:Lcom/waiqin365/lightapp/order/c/a;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/order/b/a/p;->d:Lcom/waiqin365/lightapp/order/c/a;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->a(Lcom/waiqin365/lightapp/order/OrderDetailActivity;Lcom/waiqin365/lightapp/order/c/a;)Lcom/waiqin365/lightapp/order/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->b(Lcom/waiqin365/lightapp/order/OrderDetailActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->c(Lcom/waiqin365/lightapp/order/OrderDetailActivity;)V

    goto :goto_0

    :cond_0
    iget-object v0, v0, Lcom/waiqin365/lightapp/order/b/a/p;->c:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->d(Lcom/waiqin365/lightapp/order/OrderDetailActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->d(Lcom/waiqin365/lightapp/order/OrderDetailActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/order/b/a/l;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/b/a/l;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/l;->b:Ljava/lang/String;

    if-eqz v1, :cond_2

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    const v2, 0x7f0805e8

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    const-class v2, Lcom/waiqin365/lightapp/order/OrderListActivity;

    invoke-virtual {v0, v1, v5, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->back()V

    goto/16 :goto_0

    :cond_2
    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/l;->b:Ljava/lang/String;

    if-eqz v1, :cond_3

    const-string/jumbo v1, "-1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/order/b/a/l;->c:Ljava/lang/String;

    invoke-static {v1, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget v0, v0, Lcom/waiqin365/lightapp/order/b/a/l;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/order/b/a/k;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/b/a/k;->b()Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/k;->b:Ljava/lang/String;

    if-eqz v1, :cond_5

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/k;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    const v2, 0x7f0805df

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    const-class v2, Lcom/waiqin365/lightapp/order/OrderListActivity;

    invoke-virtual {v0, v1, v5, v2}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->back()V

    goto/16 :goto_0

    :cond_5
    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/k;->b:Ljava/lang/String;

    if-eqz v1, :cond_6

    const-string/jumbo v1, "-1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/k;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/order/b/a/k;->c:Ljava/lang/String;

    invoke-static {v1, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_7
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget v0, v0, Lcom/waiqin365/lightapp/order/b/a/k;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/order/b/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/b/a/m;->b()Z

    move-result v1

    if-eqz v1, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/order/b/a/m;->b:Ljava/lang/String;

    if-eqz v1, :cond_8

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/order/b/a/m;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "type"

    sget-object v2, Lcom/fiberhome/gaea/client/a/e;->b:Lcom/fiberhome/gaea/client/a/e;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesRecordDetailActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitRecordDetailActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/order/OrderListActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "reinit_activity"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    const v2, 0x7f080248

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/OrderDetailActivity;->back()V

    goto/16 :goto_0

    :cond_8
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/order/b/a/m;->c:Ljava/lang/String;

    invoke-static {v1, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_9
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/r;->a:Lcom/waiqin365/lightapp/order/OrderDetailActivity;

    iget v0, v0, Lcom/waiqin365/lightapp/order/b/a/m;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x3f1 -> :sswitch_1
        0x3f2 -> :sswitch_2
        0x3fe -> :sswitch_0
        0x400 -> :sswitch_3
    .end sparse-switch
.end method
